package com.tencent.mars.xlogsample;

public class LogInfo {
    private int level;
    private String tag;
    private String filename;
    private String funcname;
    private int line;
    private int pid;
    private long tid;
    private long maintid;
    private String log;

    public LogInfo setLevel(int level) {
        this.level = level;
        return this;
    }

    public LogInfo setTag(String tag) {
        this.tag = tag;
        return this;
    }

    public LogInfo setFilename(String filename) {
        this.filename = filename;
        return this;
    }

    public LogInfo setFuncname(String funcname) {
        this.funcname = funcname;
        return this;
    }

    public LogInfo setLine(int line) {
        this.line = line;
        return this;
    }

    public LogInfo setPid(int pid) {
        this.pid = pid;
        return this;
    }

    public LogInfo setTid(long tid) {
        this.tid = tid;
        return this;
    }

    public LogInfo setMaintid(long maintid) {
        this.maintid = maintid;
        return this;
    }

    public LogInfo setLog(String log) {
        this.log = log;
        return this;
    }

    public int getLevel() {
        return level;
    }

    public String getTag() {
        return tag;
    }

    public String getFilename() {
        return filename;
    }

    public String getFuncname() {
        return funcname;
    }

    public int getLine() {
        return line;
    }

    public int getPid() {
        return pid;
    }

    public long getTid() {
        return tid;
    }

    public long getMaintid() {
        return maintid;
    }

    public String getLog() {
        return log;
    }
}